inherited FormCadFatura: TFormCadFatura
  Left = 186
  Top = 123
  Caption = 'Fatura'
  ClientWidth = 682
  ExplicitWidth = 690
  ExplicitHeight = 353
  PixelsPerInch = 96
  TextHeight = 13
  inherited ToolBar1: TToolBar
    Width = 682
    ExplicitHeight = 106
    inherited ToolButton8: TToolButton
      Left = 295
      ExplicitLeft = 295
    end
    inherited btnEditar: TSpeedButton
      Left = 310
      ExplicitLeft = 310
    end
    inherited ToolButton7: TToolButton
      Left = 365
      ExplicitLeft = 365
    end
    inherited btnCancelar: TSpeedButton
      Left = 380
      ExplicitLeft = 380
    end
    inherited ToolButton5: TToolButton
      Left = 435
      ExplicitLeft = 435
    end
    inherited btnExcluir: TSpeedButton
      Left = 450
      ExplicitLeft = 450
    end
    inherited ToolButton4: TToolButton
      Left = 505
      ExplicitLeft = 505
    end
    inherited btnPesquisar: TSpeedButton
      Left = 535
      ExplicitLeft = 535
    end
    inherited ToolButton6: TToolButton
      Left = 595
      ExplicitLeft = 595
    end
    inherited btnOpcoes: TSpeedButton
      Left = 625
      ExplicitLeft = 625
    end
  end
  inherited PageControl: TPageControl
    Width = 682
    OnChanging = PageControlChanging
    ExplicitTop = 106
    ExplicitHeight = 195
    inherited Principal: TTabSheet
      ExplicitLeft = 7
      ExplicitTop = 27
      ExplicitWidth = 668
      ExplicitHeight = 216
      object Label1: TLabel
        Left = 1
        Top = 23
        Width = 85
        Height = 13
        Alignment = taRightJustify
        AutoSize = False
        Caption = 'Codigo:'
        FocusControl = DBEdit1
      end
      object Label2: TLabel
        Left = 1
        Top = 83
        Width = 85
        Height = 13
        Alignment = taRightJustify
        AutoSize = False
        Caption = 'Cond. Pagto:'
        FocusControl = DBEdit2
      end
      object Label3: TLabel
        Left = 169
        Top = 23
        Width = 56
        Height = 13
        Alignment = taRightJustify
        AutoSize = False
        Caption = 'Emissao:'
      end
      object Label4: TLabel
        Left = 1
        Top = 143
        Width = 85
        Height = 13
        Alignment = taRightJustify
        AutoSize = False
        Caption = 'Valor ISS:'
        FocusControl = DBEdit4
      end
      object Label5: TLabel
        Left = 178
        Top = 144
        Width = 79
        Height = 13
        Alignment = taRightJustify
        AutoSize = False
        Caption = 'Desconto:'
        FocusControl = DBEdit5
      end
      object Label6: TLabel
        Left = 1
        Top = 53
        Width = 85
        Height = 13
        Alignment = taRightJustify
        AutoSize = False
        Caption = 'Cliente:'
        FocusControl = DBEdit6
      end
      object SpeedButton1: TSpeedButton
        Left = 423
        Top = 45
        Width = 30
        Height = 30
        Flat = True
        Glyph.Data = {
          F6060000424DF606000000000000360000002800000018000000180000000100
          180000000000C006000000000000000000000000000000000000FF00FFFF00FF
          FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
          FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
          00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB4E2D
          AD4E2DAF4F2DAF4F2DAF4F2DAB4E2DAB4E2DFF00FFFF00FFFF00FFFF00FFFF00
          FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB
          4E2DB2502EBA5430BF5631C25732C25732C25732BF5631B7522FB0502EAB4E2D
          FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
          FFAB4E2DB2502EBD5531C35833CC5D36CD613BCE633ECE633ECE633ECD613BCC
          5B34C35833BB5531AF4F2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
          FF00FFFF00FFAB4E2DB0502EC05732CA5B34CE623CD06844D16B47D16E4BD26F
          4CD16E4BD16B47CF6641CD613BCA5B34BD5531AF4F2DFF00FFFF00FFFF00FFFF
          00FFFF00FFFF00FFFF00FFFF00FFAF4F2DBF5631CC5D36CF643FD16C49D3714F
          C75933CA5B34CA5B34C85A34D37453D2704ED16B47CF643FCA5B34BD5531AF4F
          2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAD4E2DBD5531CC5B34CF6641D2
          6F4CD47554D57959DF987FFFFFFFFFFFFFFFFFFFD57857D57857D47554D26F4C
          CF643FCA5B34BB5531AB4E2DFF00FFFF00FFFF00FFFF00FFFF00FFB5522FC559
          33CE623CD26F4CD47554D57B5BD67D5EE09A82FFFFFFFFFFFFFFFFFFD67C5CD6
          7D5ED57959D47554D16B47CD613BC35833B0502EFF00FFFF00FFFF00FFFF00FF
          AB4E2DBD5531CC5D36D06844D37351D57959D67D5ED78061E09A82FFFFFFFFFF
          FFFFFFFFD77E5FD78061D67D5ED57857D2704ECF6641CC5B34B7522FAB4E2DFF
          00FFFF00FFFF00FFAD4E2DC25732CE623CD16E4BD37351DC8D72DE957CDE977E
          E6AF9CFFFFFFFFFFFFFFFFFFDD9379DE977EDE947ADC8D72D37351D16B47CD61
          3BBF5631AB4E2DFF00FFFF00FFFF00FFB0502EC55933DA8A6EDC9076FFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          DA876ADD9177DA8A6EC25732AF4F2DFF00FFFF00FFFF00FFC55933DA8A6EDD91
          77DF987FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFDC9076DF9981DD9177DA876AC25732FF00FFFF00FFFF00FF
          D16E4BDD9379E09C84E2A18AFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFDF9981E2A28CE09A82DD9177D16C49FF
          00FFFF00FFFF00FFAD4E2DE09A82E2A28CE4A994ECC1B2ECC3B4EDC4B5EDC4B5
          F7E4DDFFFFFFFFFFFFFFFFFFEDC5B7EDC4B5EDC4B5ECC3B4E19D85E4A792E2A2
          8CDF9981AD4E2DFF00FFFF00FFFF00FFAB4E2DE2A18AE4A792E6AE9AE8B4A2E9
          B7A5E9BAA9EABBAAEEC9BCFFFFFFFFFFFFFFFFFFE9B8A7EABBAAE9BAA9E9B7A5
          E7B29FE6AE9AE4A792E19E87AB4E2DFF00FFFF00FFFF00FFFF00FFE4A994E6AF
          9CE8B4A2EABBAAEBBDADECC0B0ECC1B2F0CFC4FFFFFFFFFFFFFFFFFFECC1B2EC
          C1B2ECC0B0EBBDADE9BAA9E8B4A2E6AE9AE3A691FF00FFFF00FFFF00FFFF00FF
          FF00FFAF4F2DE8B4A2E9BAA9EBBFAFECC3B4EDC5B7EEC6B8F2D3C8FFFFFFFFFF
          FFFFFFFFEDC5B7EEC6B8EDC5B7ECC3B4EBBDADE9BAA9E8B4A2AB4E2DFF00FFFF
          00FFFF00FFFF00FFFF00FFAB4E2DEABBAAEBBFAFECC3B4EEC6B8EEC9BCEFCABD
          F3D7CDFFFFFFFFFFFFFFFFFFEFCABDEFCABDEEC9BCEDC5B7ECC1B2EBBFAFE9BA
          A9FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB4E2DEDC4B5EEC7BAEF
          CBBFF0CCC0F0CFC4F0CCC0EFCBBFEFCBBFEFCBBFF1D0C5F0CFC4F0CCC0EFCABD
          EEC7BAEDC4B5AB4E2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
          FFAB4E2DEFCBBFF0CEC2F1D0C5F1D2C7F2D3C8F2D4CAF2D4CAF2D4CAF2D3C8F1
          D2C7F1D0C5F0CEC2E7B3A1AB4E2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
          FF00FFFF00FFFF00FFFF00FFAB4E2DAF4F2DF2D3C8F2D6CCF3D7CDF3D7CDF3D7
          CDF3D7CDF3D7CDF2D6CCF2D3C8AF4F2DFF00FFFF00FFFF00FFFF00FFFF00FFFF
          00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB4E2D
          AD4E2DE2A18AF2D6CCE1A089AD4E2DAB4E2DFF00FFFF00FFFF00FFFF00FFFF00
          FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
          00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
          FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
          FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
          00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF}
        OnClick = SpeedButton1Click
      end
      object SpeedButton3: TSpeedButton
        Left = 423
        Top = 76
        Width = 30
        Height = 30
        Flat = True
        Glyph.Data = {
          F6060000424DF606000000000000360000002800000018000000180000000100
          180000000000C006000000000000000000000000000000000000FF00FFFF00FF
          FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
          FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
          00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB4E2D
          AD4E2DAF4F2DAF4F2DAF4F2DAB4E2DAB4E2DFF00FFFF00FFFF00FFFF00FFFF00
          FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB
          4E2DB2502EBA5430BF5631C25732C25732C25732BF5631B7522FB0502EAB4E2D
          FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
          FFAB4E2DB2502EBD5531C35833CC5D36CD613BCE633ECE633ECE633ECD613BCC
          5B34C35833BB5531AF4F2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
          FF00FFFF00FFAB4E2DB0502EC05732CA5B34CE623CD06844D16B47D16E4BD26F
          4CD16E4BD16B47CF6641CD613BCA5B34BD5531AF4F2DFF00FFFF00FFFF00FFFF
          00FFFF00FFFF00FFFF00FFFF00FFAF4F2DBF5631CC5D36CF643FD16C49D3714F
          C75933CA5B34CA5B34C85A34D37453D2704ED16B47CF643FCA5B34BD5531AF4F
          2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAD4E2DBD5531CC5B34CF6641D2
          6F4CD47554D57959DF987FFFFFFFFFFFFFFFFFFFD57857D57857D47554D26F4C
          CF643FCA5B34BB5531AB4E2DFF00FFFF00FFFF00FFFF00FFFF00FFB5522FC559
          33CE623CD26F4CD47554D57B5BD67D5EE09A82FFFFFFFFFFFFFFFFFFD67C5CD6
          7D5ED57959D47554D16B47CD613BC35833B0502EFF00FFFF00FFFF00FFFF00FF
          AB4E2DBD5531CC5D36D06844D37351D57959D67D5ED78061E09A82FFFFFFFFFF
          FFFFFFFFD77E5FD78061D67D5ED57857D2704ECF6641CC5B34B7522FAB4E2DFF
          00FFFF00FFFF00FFAD4E2DC25732CE623CD16E4BD37351DC8D72DE957CDE977E
          E6AF9CFFFFFFFFFFFFFFFFFFDD9379DE977EDE947ADC8D72D37351D16B47CD61
          3BBF5631AB4E2DFF00FFFF00FFFF00FFB0502EC55933DA8A6EDC9076FFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          DA876ADD9177DA8A6EC25732AF4F2DFF00FFFF00FFFF00FFC55933DA8A6EDD91
          77DF987FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFDC9076DF9981DD9177DA876AC25732FF00FFFF00FFFF00FF
          D16E4BDD9379E09C84E2A18AFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFDF9981E2A28CE09A82DD9177D16C49FF
          00FFFF00FFFF00FFAD4E2DE09A82E2A28CE4A994ECC1B2ECC3B4EDC4B5EDC4B5
          F7E4DDFFFFFFFFFFFFFFFFFFEDC5B7EDC4B5EDC4B5ECC3B4E19D85E4A792E2A2
          8CDF9981AD4E2DFF00FFFF00FFFF00FFAB4E2DE2A18AE4A792E6AE9AE8B4A2E9
          B7A5E9BAA9EABBAAEEC9BCFFFFFFFFFFFFFFFFFFE9B8A7EABBAAE9BAA9E9B7A5
          E7B29FE6AE9AE4A792E19E87AB4E2DFF00FFFF00FFFF00FFFF00FFE4A994E6AF
          9CE8B4A2EABBAAEBBDADECC0B0ECC1B2F0CFC4FFFFFFFFFFFFFFFFFFECC1B2EC
          C1B2ECC0B0EBBDADE9BAA9E8B4A2E6AE9AE3A691FF00FFFF00FFFF00FFFF00FF
          FF00FFAF4F2DE8B4A2E9BAA9EBBFAFECC3B4EDC5B7EEC6B8F2D3C8FFFFFFFFFF
          FFFFFFFFEDC5B7EEC6B8EDC5B7ECC3B4EBBDADE9BAA9E8B4A2AB4E2DFF00FFFF
          00FFFF00FFFF00FFFF00FFAB4E2DEABBAAEBBFAFECC3B4EEC6B8EEC9BCEFCABD
          F3D7CDFFFFFFFFFFFFFFFFFFEFCABDEFCABDEEC9BCEDC5B7ECC1B2EBBFAFE9BA
          A9FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB4E2DEDC4B5EEC7BAEF
          CBBFF0CCC0F0CFC4F0CCC0EFCBBFEFCBBFEFCBBFF1D0C5F0CFC4F0CCC0EFCABD
          EEC7BAEDC4B5AB4E2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
          FFAB4E2DEFCBBFF0CEC2F1D0C5F1D2C7F2D3C8F2D4CAF2D4CAF2D4CAF2D3C8F1
          D2C7F1D0C5F0CEC2E7B3A1AB4E2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
          FF00FFFF00FFFF00FFFF00FFAB4E2DAF4F2DF2D3C8F2D6CCF3D7CDF3D7CDF3D7
          CDF3D7CDF3D7CDF2D6CCF2D3C8AF4F2DFF00FFFF00FFFF00FFFF00FFFF00FFFF
          00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB4E2D
          AD4E2DE2A18AF2D6CCE1A089AD4E2DAB4E2DFF00FFFF00FFFF00FFFF00FFFF00
          FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
          00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
          FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
          FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
          00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF}
        OnClick = SpeedButton3Click
      end
      object Label7: TLabel
        Left = 1
        Top = 113
        Width = 85
        Height = 13
        Alignment = taRightJustify
        AutoSize = False
        Caption = 'Obs.:'
        FocusControl = DBEdit3
      end
      object Label8: TLabel
        Left = 1
        Top = 174
        Width = 85
        Height = 13
        Alignment = taRightJustify
        AutoSize = False
        Caption = 'Data in'#237'cio:'
      end
      object Label9: TLabel
        Left = 190
        Top = 174
        Width = 66
        Height = 13
        Alignment = taRightJustify
        AutoSize = False
        Caption = 'Data fim:'
      end
      object Label10: TLabel
        Left = 373
        Top = 144
        Width = 34
        Height = 13
        Alignment = taRightJustify
        AutoSize = False
        Caption = 'Total:'
        FocusControl = DBEdit7
      end
      object Label11: TLabel
        Left = 329
        Top = 23
        Width = 64
        Height = 13
        Alignment = taRightJustify
        AutoSize = False
        Caption = 'Vencimento:'
      end
      object DBEdit1: TDBEdit
        Left = 91
        Top = 20
        Width = 70
        Height = 21
        DataField = 'CODFATURA'
        DataSource = dsPrincipal
        Enabled = False
        TabOrder = 0
      end
      object DBEdit2: TDBEdit
        Left = 91
        Top = 80
        Width = 70
        Height = 21
        DataField = 'CODCONDPAG'
        DataSource = dsPrincipal
        TabOrder = 5
      end
      object DBEdit4: TDBEdit
        Left = 91
        Top = 140
        Width = 70
        Height = 21
        DataField = 'VALORISS'
        DataSource = dsPrincipal
        TabOrder = 8
      end
      object DBEdit5: TDBEdit
        Left = 261
        Top = 140
        Width = 100
        Height = 21
        DataField = 'DESCONTO'
        DataSource = dsPrincipal
        TabOrder = 9
      end
      object DBEdit6: TDBEdit
        Left = 91
        Top = 50
        Width = 70
        Height = 21
        DataField = 'CODCLIENTE'
        DataSource = dsPrincipal
        TabOrder = 3
      end
      object DBEditData: TJvDBDateEdit
        Left = 229
        Top = 20
        Width = 93
        Height = 21
        DataField = 'DATAEMISSAO'
        DataSource = dsPrincipal
        ImageKind = ikDropDown
        TabOrder = 1
        OnKeyDown = FormKeyDown
      end
      object JvDBLookupComboCliente: TJvDBLookupCombo
        Left = 164
        Top = 50
        Width = 250
        Height = 21
        DataField = 'CODCLIENTE'
        DataSource = dsPrincipal
        ListStyle = lsDelimited
        LookupField = 'CODCLIENTE'
        LookupDisplay = 'NOME;CODCLIENTE'
        LookupSource = DMSr.dsCliente
        TabOrder = 4
      end
      object JvDBLookupCombocodPag: TJvDBLookupCombo
        Left = 164
        Top = 80
        Width = 250
        Height = 21
        DataField = 'CODCONDPAG'
        DataSource = dsPrincipal
        ListStyle = lsDelimited
        LookupField = 'CODCONDPAG'
        LookupDisplay = 'PRAZO;NUMPARCELA'
        LookupSource = DMSr.dsCondPag
        TabOrder = 6
        OnKeyDown = FormKeyDown
      end
      object DBEdit3: TDBEdit
        Left = 91
        Top = 110
        Width = 323
        Height = 21
        CharCase = ecUpperCase
        DataField = 'OBS1'
        DataSource = dsPrincipal
        TabOrder = 7
      end
      object JvDBDateEdit1: TJvDBDateEdit
        Left = 90
        Top = 171
        Width = 93
        Height = 21
        DataField = 'DATAINICIO'
        DataSource = dsPrincipal
        ImageKind = ikDropDown
        TabOrder = 11
        OnKeyDown = FormKeyDown
      end
      object JvDBDateEdit2: TJvDBDateEdit
        Left = 261
        Top = 171
        Width = 93
        Height = 21
        DataField = 'DATAFIM'
        DataSource = dsPrincipal
        ImageKind = ikDropDown
        TabOrder = 12
        OnKeyDown = FormKeyDown
      end
      object DBEdit7: TDBEdit
        Left = 413
        Top = 140
        Width = 100
        Height = 21
        DataField = 'VALORTOTAL'
        DataSource = dsPrincipal
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -11
        Font.Name = 'MS Sans Serif'
        Font.Style = [fsBold]
        ParentFont = False
        TabOrder = 10
      end
      object JvDBDateEdit3: TJvDBDateEdit
        Left = 397
        Top = 20
        Width = 93
        Height = 21
        DataField = 'DATAVENCIMENTO'
        DataSource = dsPrincipal
        ImageKind = ikDropDown
        TabOrder = 2
        OnKeyDown = FormKeyDown
      end
    end
    inherited Detalhe: TTabSheet
      Caption = 'Comboio'
      ExplicitLeft = 4
      ExplicitTop = 24
      ExplicitWidth = 656
      ExplicitHeight = 167
      object Panel1: TPanel
        Left = 0
        Top = 0
        Width = 674
        Height = 50
        Align = alTop
        BorderStyle = bsSingle
        Ctl3D = True
        ParentCtl3D = False
        TabOrder = 0
        ExplicitWidth = 656
        object SpeedButton2: TSpeedButton
          Left = 24
          Top = 8
          Width = 120
          Height = 30
          Caption = '&Buscar Comboio'
          Flat = True
          Glyph.Data = {
            F6060000424DF606000000000000360000002800000018000000180000000100
            180000000000C006000000000000000000000000000000000000FF00FFFF00FF
            FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
            FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB4E2D
            AD4E2DAF4F2DAF4F2DAF4F2DAB4E2DAB4E2DFF00FFFF00FFFF00FFFF00FFFF00
            FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB
            4E2DB2502EBA5430BF5631C25732C25732C25732BF5631B7522FB0502EAB4E2D
            FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
            FFAB4E2DB2502EBD5531C35833CC5D36CD613BCE633ECE633ECE633ECD613BCC
            5B34C35833BB5531AF4F2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
            FF00FFFF00FFAB4E2DB0502EC05732CA5B34CE623CD06844D16B47D16E4BD26F
            4CD16E4BD16B47CF6641CD613BCA5B34BD5531AF4F2DFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFAF4F2DBF5631CC5D36BB5531BD5531C05732
            C25732C35833C35833C35833C25732C05732BD5531BB5531CA5B34BD5531AF4F
            2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAD4E2DBD5531CC5B34CF6641C5
            5933FFFEFDDE947ADE947ADE947ADE957CDE947ADE947ADD9379FFFEFDC55933
            CF643FCA5B34BB5531AB4E2DFF00FFFF00FFFF00FFFF00FFFF00FFB5522FC559
            33CE623CD26F4CCC5D36FFFEFDE5AA95E5AA95E5AA95E5AB97E5AA95E5AA95E4
            A994FFFEFDCC5B34D16B47CD613BC35833B0502EFF00FFFF00FFFF00FFFF00FF
            AB4E2DBD5531CC5D36D06844D37351CD5F39FFFEFDE2A18AEEC6B8EEC6B8EEC7
            BAEEC6B8EEC6B8E5AB97FFFEFDCD5F39D2704ECF6641CC5B34B7522FAB4E2DFF
            00FFFF00FFFF00FFAD4E2DC25732CE623CD16E4BD47756D57B5BFFFEFDEABBAA
            E6AE9AE6AE9AE6AE9AE6AE9AE6AE9AEABCACFFFEFDD57B5BD37453D16B47CD61
            3BBF5631AB4E2DFF00FFFF00FFFF00FFB0502EC55933DA8A6EDD9379DF9981DA
            896CFFFEFDE9BAA9FFFEFDFFFEFDFFFFFFFFFEFDFFFEFDECC1B2FFFEFDDA896C
            DF987FDD9177DA8A6EC25732AF4F2DFF00FFFF00FFFF00FFC55933DA8A6EDD91
            77E09A82E2A18ADD9177FFFEFDECC3B4E9B7A5E9B7A5E9B7A5E9B7A5E9B7A5ED
            C5B7FFFEFDDD9177E19E87DF9981DD9177DA876AC25732FF00FFFF00FFFF00FF
            D16E4BDD9379E09C84E2A28CE4A792E09A82FFFEFDEDC4B5FFFEFDFFFEFDFFFF
            FFFFFEFDFFFEFDEFCABDFFFEFDE09A82E4A792E2A28CE09A82DD9177D16C49FF
            00FFFF00FFFF00FFAD4E2DE09A82E2A28CE4A994E6AF9CE2A28CFFFEFDF0CEC2
            EEC7BAEEC7BAEEC7BAEEC7BAEEC7BAF0CEC2FFFEFDE2A28CE6AE9AE4A792E2A2
            8CDF9981AD4E2DFF00FFFF00FFFF00FFAB4E2DE2A18AE4A792E6AE9AE8B4A2E5
            AA95FFFEFDF1D2C7F1D2C7F1D2C7F2D3C8F0CFC4EEC6B8EEC6B8FFFEFDE4A994
            E7B29FE6AE9AE4A792E19E87AB4E2DFF00FFFF00FFFF00FFFF00FFE4A994E6AF
            9CE8B4A2EABBAAE7B29FFFFFFFF2D6CCF3D7CDF3D7CDF3D7CDF0CFC4FFFFFFF9
            EAE5FFFFFFE9B8A7E9BAA9E8B4A2E6AE9AE3A691FF00FFFF00FFFF00FFFF00FF
            FF00FFAF4F2DE8B4A2E9BAA9EBBFAFE9B8A7FFFFFFF4D9D0F4D9D0F4D9D0F4DB
            D2F2D3C8FFFFFFFFFEFDEBBFAFECC3B4EBBDADE9BAA9E8B4A2AB4E2DFF00FFFF
            00FFFF00FFFF00FFFF00FFAB4E2DEABBAAEBBFAFECC3B4EBBDADFFFFFFFFFFFF
            FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEEC6B8EEC9BCEDC5B7ECC1B2EBBFAFE9BA
            A9FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB4E2DEDC4B5EEC7BAEF
            CBBFF0CCC0F0CFC4F1D0C5F1D0C5F1D0C5F1D0C5F1D0C5F0CFC4F0CCC0EFCABD
            EEC7BAEDC4B5AB4E2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
            FFAB4E2DEFCBBFF0CEC2F1D0C5F1D2C7F2D3C8F2D4CAF2D4CAF2D4CAF2D3C8F1
            D2C7F1D0C5F0CEC2E7B3A1AB4E2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
            FF00FFFF00FFFF00FFFF00FFAB4E2DAF4F2DF2D3C8F2D6CCF3D7CDF3D7CDF3D7
            CDF3D7CDF3D7CDF2D6CCF2D3C8AF4F2DFF00FFFF00FFFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB4E2D
            AD4E2DE2A18AF2D6CCE1A089AD4E2DAB4E2DFF00FFFF00FFFF00FFFF00FFFF00
            FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
            FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
            FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF}
          OnClick = SpeedButton2Click
        end
        object btnImprimir: TSpeedButton
          Left = 152
          Top = 8
          Width = 120
          Height = 30
          Caption = '&Imprimir'
          Flat = True
          Glyph.Data = {
            F6060000424DF606000000000000360000002800000018000000180000000100
            180000000000C006000000000000000000000000000000000000FF00FFFF00FF
            FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
            FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB4E2D
            AD4E2DAF4F2DAF4F2DAF4F2DAB4E2DAB4E2DFF00FFFF00FFFF00FFFF00FFFF00
            FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB
            4E2DB2502EBA5430BF5631C25732C25732C25732BF5631B7522FB0502EAB4E2D
            FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
            FFAB4E2DB2502EBD5531C35833CC5D36CD613BCE633ECE633ECE633ECD613BCC
            5B34C35833BB5531AF4F2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
            FF00FFFF00FFAB4E2DB0502EC05732CA5B34CE623CD06844D16B47D16E4BD26F
            4CD16E4BD16B47CF6641CD613BCA5B34BD5531AF4F2DFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFAF4F2DBF5631CC5D36CF643FD16C49D3714F
            D37453D47756D47756D47554D37453D2704ED16B47CF643FCA5B34BD5531AF4F
            2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAD4E2DBD5531CC5B34CF6641C2
            5732C85A34CC5D36CD5E37CD5E37CD5F39CD5E37CD5E37CC5B34C85A34C25732
            CF643FCA5B34BB5531AB4E2DFF00FFFF00FFFF00FFFF00FFFF00FFB5522FC559
            33CE623CD26F4CFFFFFFDE947ADE957CDE977EDE977EDE977EDE977EDE977EDE
            957CDE947AFFFFFFD16B47CD613BC35833B0502EFF00FFFF00FFFF00FFFF00FF
            AB4E2DBD5531CC5D36D06844D37351FFFFFFDE957CE2A28CE3A38DE3A38DE3A3
            8DE3A38DE3A38DE2A28CDE957CFFFFFFD2704ECF6641CC5B34B7522FAB4E2DFF
            00FFFF00FFFF00FFAD4E2DC25732CE623CD16E4BD47756FFFFFFE5AB97FFFFFF
            FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE5AB97FFFFFFD37453D16B47CD61
            3BBF5631AB4E2DFF00FFFF00FFFF00FFB0502EC55933DA8A6EDD9379DF9981FF
            FFFFE7B09DE7B29FE7B29FE7B29FE7B29FE7B29FE7B29FE7B29FE7B09DFFFFFF
            DF987FDD9177DA8A6EC25732AF4F2DFF00FFFF00FFFF00FFC55933DA8A6EDD91
            77E09A82E2A18AFCF3F0FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
            FFFFFFFFFFE3A58FE19E87DF9981DD9177DA876AC25732FF00FFFF00FFFF00FF
            D16E4BDD9379E09C84E2A28CE4A792E5AB97E6AE9AFFFFFFF4D9D0F7E2DBF7E2
            DBF7E2DBF2D3C8E2A18AE6AE9AE5AB97E4A792E2A28CE09A82DD9177D16C49FF
            00FFFF00FFFF00FFAD4E2DE09A82E2A28CE4A994E6AF9CE7B29FE8B4A2FFFFFF
            F3D7CDF3D7CDF3D7CDF3D7CDF3D7CDE4A994E8B4A2E7B29FE6AE9AE4A792E2A2
            8CDF9981AD4E2DFF00FFFF00FFFF00FFAB4E2DE2A18AE4A792E6AE9AE8B4A2E9
            B7A5E9BAA9FFFFFFF4DBD2F4DBD2F4DBD2F4DBD2F4DBD2E6AF9CE9BAA9E9B7A5
            E7B29FE6AE9AE4A792E19E87AB4E2DFF00FFFF00FFFF00FFFF00FFE4A994E6AF
            9CE8B4A2EABBAAEBBDADECC0B0FFFFFFF9E9E3FFFFFFFFFFFFFFFFFFF5DFD7E9
            B7A5ECC0B0EBBDADE9BAA9E8B4A2E6AE9AE3A691FF00FFFF00FFFF00FFFF00FF
            FF00FFAF4F2DE8B4A2E9BAA9EBBFAFECC3B4EDC5B7FFFFFFF6E1DAF6E1DAF6E1
            DAF6E1DAF6E1DAEBBDADEDC5B7ECC3B4EBBDADE9BAA9E8B4A2AB4E2DFF00FFFF
            00FFFF00FFFF00FFFF00FFAB4E2DEABBAAEBBFAFECC3B4EEC6B8EEC9BCECC0B0
            ECC1B2ECC1B2ECC1B2ECC1B2ECC1B2ECC0B0EEC9BCEDC5B7ECC1B2EBBFAFE9BA
            A9FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB4E2DEDC4B5EEC7BAEF
            CBBFF0CCC0F0CFC4F1D0C5F1D0C5F1D0C5F1D0C5F1D0C5F0CFC4F0CCC0EFCABD
            EEC7BAEDC4B5AB4E2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
            FFAB4E2DEFCBBFF0CEC2F1D0C5F1D2C7F2D3C8F2D4CAF2D4CAF2D4CAF2D3C8F1
            D2C7F1D0C5F0CEC2E7B3A1AB4E2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
            FF00FFFF00FFFF00FFFF00FFAB4E2DAF4F2DF2D3C8F2D6CCF3D7CDF3D7CDF3D7
            CDF3D7CDF3D7CDF2D6CCF2D3C8AF4F2DFF00FFFF00FFFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB4E2D
            AD4E2DE2A18AF2D6CCE1A089AD4E2DAB4E2DFF00FFFF00FFFF00FFFF00FFFF00
            FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
            FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
            FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF}
          OnClick = btnImprimirClick
        end
      end
      object Panel2: TPanel
        Left = 0
        Top = 172
        Width = 674
        Height = 50
        Align = alBottom
        BorderStyle = bsSingle
        Ctl3D = True
        ParentCtl3D = False
        TabOrder = 1
        ExplicitTop = 117
        ExplicitWidth = 656
      end
      object DBGrid1: TDBGrid
        Left = 0
        Top = 50
        Width = 674
        Height = 122
        Align = alClient
        DataSource = dsDetalhe
        ReadOnly = True
        TabOrder = 2
        TitleFont.Charset = DEFAULT_CHARSET
        TitleFont.Color = clWindowText
        TitleFont.Height = -11
        TitleFont.Name = 'MS Sans Serif'
        TitleFont.Style = []
        Columns = <
          item
            Expanded = False
            FieldName = 'CODCOMBOIO'
            Title.Caption = 'Comboio'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'DATA'
            Title.Caption = 'Data'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'PREVISAOSAIDA'
            Visible = False
          end
          item
            Expanded = False
            FieldName = 'KMPREVISTO'
            Visible = False
          end
          item
            Expanded = False
            FieldName = 'CODCLIENTE'
            Visible = False
          end
          item
            Expanded = False
            FieldName = 'CODRASTREADOR'
            Visible = False
          end
          item
            Expanded = False
            FieldName = 'lkRastreador'
            Title.Caption = 'Rastreador'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'CODORIGEM'
            Visible = False
          end
          item
            Expanded = False
            FieldName = 'CODDESTINO'
            Visible = False
          end
          item
            Expanded = False
            FieldName = 'CODFATURA'
            Visible = False
          end
          item
            Expanded = False
            FieldName = 'origem'
            Title.Caption = 'Origem'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'destino'
            Title.Caption = 'Destino'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'lkcliente'
            Visible = False
          end
          item
            Expanded = False
            FieldName = 'VALOR'
            Title.Caption = 'Valor'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'VALORKM'
            Visible = False
          end
          item
            Expanded = False
            FieldName = 'PREVISAOCHEGADA'
            Visible = False
          end
          item
            Expanded = False
            FieldName = 'DATACHEGADA'
            Visible = False
          end
          item
            Expanded = False
            FieldName = 'EXPORTADO'
            Visible = False
          end
          item
            Expanded = False
            FieldName = 'COMBOIOCLIENTE'
            Title.Caption = 'Comboio Cliente'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'USUARIODIG'
            Visible = False
          end
          item
            Expanded = False
            FieldName = 'SITE'
            Visible = False
          end
          item
            Expanded = False
            FieldName = 'ESPECIAL'
            Visible = False
          end>
      end
    end
    object TabSheetLocacao: TTabSheet
      Caption = 'Loca'#231#227'o'
      ImageIndex = 4
      object Panel7: TPanel
        Left = 0
        Top = 0
        Width = 674
        Height = 50
        Align = alTop
        BorderStyle = bsSingle
        Ctl3D = True
        ParentCtl3D = False
        TabOrder = 0
        object SpeedButton6: TSpeedButton
          Left = 24
          Top = 8
          Width = 120
          Height = 30
          Caption = '&Buscar Loca'#231#227'o'
          Flat = True
          Glyph.Data = {
            F6060000424DF606000000000000360000002800000018000000180000000100
            180000000000C006000000000000000000000000000000000000FF00FFFF00FF
            FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
            FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB4E2D
            AD4E2DAF4F2DAF4F2DAF4F2DAB4E2DAB4E2DFF00FFFF00FFFF00FFFF00FFFF00
            FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB
            4E2DB2502EBA5430BF5631C25732C25732C25732BF5631B7522FB0502EAB4E2D
            FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
            FFAB4E2DB2502EBD5531C35833CC5D36CD613BCE633ECE633ECE633ECD613BCC
            5B34C35833BB5531AF4F2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
            FF00FFFF00FFAB4E2DB0502EC05732CA5B34CE623CD06844D16B47D16E4BD26F
            4CD16E4BD16B47CF6641CD613BCA5B34BD5531AF4F2DFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFAF4F2DBF5631CC5D36BB5531BD5531C05732
            C25732C35833C35833C35833C25732C05732BD5531BB5531CA5B34BD5531AF4F
            2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAD4E2DBD5531CC5B34CF6641C5
            5933FFFEFDDE947ADE947ADE947ADE957CDE947ADE947ADD9379FFFEFDC55933
            CF643FCA5B34BB5531AB4E2DFF00FFFF00FFFF00FFFF00FFFF00FFB5522FC559
            33CE623CD26F4CCC5D36FFFEFDE5AA95E5AA95E5AA95E5AB97E5AA95E5AA95E4
            A994FFFEFDCC5B34D16B47CD613BC35833B0502EFF00FFFF00FFFF00FFFF00FF
            AB4E2DBD5531CC5D36D06844D37351CD5F39FFFEFDE2A18AEEC6B8EEC6B8EEC7
            BAEEC6B8EEC6B8E5AB97FFFEFDCD5F39D2704ECF6641CC5B34B7522FAB4E2DFF
            00FFFF00FFFF00FFAD4E2DC25732CE623CD16E4BD47756D57B5BFFFEFDEABBAA
            E6AE9AE6AE9AE6AE9AE6AE9AE6AE9AEABCACFFFEFDD57B5BD37453D16B47CD61
            3BBF5631AB4E2DFF00FFFF00FFFF00FFB0502EC55933DA8A6EDD9379DF9981DA
            896CFFFEFDE9BAA9FFFEFDFFFEFDFFFFFFFFFEFDFFFEFDECC1B2FFFEFDDA896C
            DF987FDD9177DA8A6EC25732AF4F2DFF00FFFF00FFFF00FFC55933DA8A6EDD91
            77E09A82E2A18ADD9177FFFEFDECC3B4E9B7A5E9B7A5E9B7A5E9B7A5E9B7A5ED
            C5B7FFFEFDDD9177E19E87DF9981DD9177DA876AC25732FF00FFFF00FFFF00FF
            D16E4BDD9379E09C84E2A28CE4A792E09A82FFFEFDEDC4B5FFFEFDFFFEFDFFFF
            FFFFFEFDFFFEFDEFCABDFFFEFDE09A82E4A792E2A28CE09A82DD9177D16C49FF
            00FFFF00FFFF00FFAD4E2DE09A82E2A28CE4A994E6AF9CE2A28CFFFEFDF0CEC2
            EEC7BAEEC7BAEEC7BAEEC7BAEEC7BAF0CEC2FFFEFDE2A28CE6AE9AE4A792E2A2
            8CDF9981AD4E2DFF00FFFF00FFFF00FFAB4E2DE2A18AE4A792E6AE9AE8B4A2E5
            AA95FFFEFDF1D2C7F1D2C7F1D2C7F2D3C8F0CFC4EEC6B8EEC6B8FFFEFDE4A994
            E7B29FE6AE9AE4A792E19E87AB4E2DFF00FFFF00FFFF00FFFF00FFE4A994E6AF
            9CE8B4A2EABBAAE7B29FFFFFFFF2D6CCF3D7CDF3D7CDF3D7CDF0CFC4FFFFFFF9
            EAE5FFFFFFE9B8A7E9BAA9E8B4A2E6AE9AE3A691FF00FFFF00FFFF00FFFF00FF
            FF00FFAF4F2DE8B4A2E9BAA9EBBFAFE9B8A7FFFFFFF4D9D0F4D9D0F4D9D0F4DB
            D2F2D3C8FFFFFFFFFEFDEBBFAFECC3B4EBBDADE9BAA9E8B4A2AB4E2DFF00FFFF
            00FFFF00FFFF00FFFF00FFAB4E2DEABBAAEBBFAFECC3B4EBBDADFFFFFFFFFFFF
            FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEEC6B8EEC9BCEDC5B7ECC1B2EBBFAFE9BA
            A9FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB4E2DEDC4B5EEC7BAEF
            CBBFF0CCC0F0CFC4F1D0C5F1D0C5F1D0C5F1D0C5F1D0C5F0CFC4F0CCC0EFCABD
            EEC7BAEDC4B5AB4E2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
            FFAB4E2DEFCBBFF0CEC2F1D0C5F1D2C7F2D3C8F2D4CAF2D4CAF2D4CAF2D3C8F1
            D2C7F1D0C5F0CEC2E7B3A1AB4E2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
            FF00FFFF00FFFF00FFFF00FFAB4E2DAF4F2DF2D3C8F2D6CCF3D7CDF3D7CDF3D7
            CDF3D7CDF3D7CDF2D6CCF2D3C8AF4F2DFF00FFFF00FFFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB4E2D
            AD4E2DE2A18AF2D6CCE1A089AD4E2DAB4E2DFF00FFFF00FFFF00FFFF00FFFF00
            FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
            FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
            FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF}
          OnClick = SpeedButton6Click
        end
        object SpeedButton7: TSpeedButton
          Left = 152
          Top = 8
          Width = 120
          Height = 30
          Caption = '&Imprimir'
          Flat = True
          Glyph.Data = {
            F6060000424DF606000000000000360000002800000018000000180000000100
            180000000000C006000000000000000000000000000000000000FF00FFFF00FF
            FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
            FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB4E2D
            AD4E2DAF4F2DAF4F2DAF4F2DAB4E2DAB4E2DFF00FFFF00FFFF00FFFF00FFFF00
            FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB
            4E2DB2502EBA5430BF5631C25732C25732C25732BF5631B7522FB0502EAB4E2D
            FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
            FFAB4E2DB2502EBD5531C35833CC5D36CD613BCE633ECE633ECE633ECD613BCC
            5B34C35833BB5531AF4F2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
            FF00FFFF00FFAB4E2DB0502EC05732CA5B34CE623CD06844D16B47D16E4BD26F
            4CD16E4BD16B47CF6641CD613BCA5B34BD5531AF4F2DFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFAF4F2DBF5631CC5D36CF643FD16C49D3714F
            D37453D47756D47756D47554D37453D2704ED16B47CF643FCA5B34BD5531AF4F
            2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAD4E2DBD5531CC5B34CF6641C2
            5732C85A34CC5D36CD5E37CD5E37CD5F39CD5E37CD5E37CC5B34C85A34C25732
            CF643FCA5B34BB5531AB4E2DFF00FFFF00FFFF00FFFF00FFFF00FFB5522FC559
            33CE623CD26F4CFFFFFFDE947ADE957CDE977EDE977EDE977EDE977EDE977EDE
            957CDE947AFFFFFFD16B47CD613BC35833B0502EFF00FFFF00FFFF00FFFF00FF
            AB4E2DBD5531CC5D36D06844D37351FFFFFFDE957CE2A28CE3A38DE3A38DE3A3
            8DE3A38DE3A38DE2A28CDE957CFFFFFFD2704ECF6641CC5B34B7522FAB4E2DFF
            00FFFF00FFFF00FFAD4E2DC25732CE623CD16E4BD47756FFFFFFE5AB97FFFFFF
            FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE5AB97FFFFFFD37453D16B47CD61
            3BBF5631AB4E2DFF00FFFF00FFFF00FFB0502EC55933DA8A6EDD9379DF9981FF
            FFFFE7B09DE7B29FE7B29FE7B29FE7B29FE7B29FE7B29FE7B29FE7B09DFFFFFF
            DF987FDD9177DA8A6EC25732AF4F2DFF00FFFF00FFFF00FFC55933DA8A6EDD91
            77E09A82E2A18AFCF3F0FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
            FFFFFFFFFFE3A58FE19E87DF9981DD9177DA876AC25732FF00FFFF00FFFF00FF
            D16E4BDD9379E09C84E2A28CE4A792E5AB97E6AE9AFFFFFFF4D9D0F7E2DBF7E2
            DBF7E2DBF2D3C8E2A18AE6AE9AE5AB97E4A792E2A28CE09A82DD9177D16C49FF
            00FFFF00FFFF00FFAD4E2DE09A82E2A28CE4A994E6AF9CE7B29FE8B4A2FFFFFF
            F3D7CDF3D7CDF3D7CDF3D7CDF3D7CDE4A994E8B4A2E7B29FE6AE9AE4A792E2A2
            8CDF9981AD4E2DFF00FFFF00FFFF00FFAB4E2DE2A18AE4A792E6AE9AE8B4A2E9
            B7A5E9BAA9FFFFFFF4DBD2F4DBD2F4DBD2F4DBD2F4DBD2E6AF9CE9BAA9E9B7A5
            E7B29FE6AE9AE4A792E19E87AB4E2DFF00FFFF00FFFF00FFFF00FFE4A994E6AF
            9CE8B4A2EABBAAEBBDADECC0B0FFFFFFF9E9E3FFFFFFFFFFFFFFFFFFF5DFD7E9
            B7A5ECC0B0EBBDADE9BAA9E8B4A2E6AE9AE3A691FF00FFFF00FFFF00FFFF00FF
            FF00FFAF4F2DE8B4A2E9BAA9EBBFAFECC3B4EDC5B7FFFFFFF6E1DAF6E1DAF6E1
            DAF6E1DAF6E1DAEBBDADEDC5B7ECC3B4EBBDADE9BAA9E8B4A2AB4E2DFF00FFFF
            00FFFF00FFFF00FFFF00FFAB4E2DEABBAAEBBFAFECC3B4EEC6B8EEC9BCECC0B0
            ECC1B2ECC1B2ECC1B2ECC1B2ECC1B2ECC0B0EEC9BCEDC5B7ECC1B2EBBFAFE9BA
            A9FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB4E2DEDC4B5EEC7BAEF
            CBBFF0CCC0F0CFC4F1D0C5F1D0C5F1D0C5F1D0C5F1D0C5F0CFC4F0CCC0EFCABD
            EEC7BAEDC4B5AB4E2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
            FFAB4E2DEFCBBFF0CEC2F1D0C5F1D2C7F2D3C8F2D4CAF2D4CAF2D4CAF2D3C8F1
            D2C7F1D0C5F0CEC2E7B3A1AB4E2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
            FF00FFFF00FFFF00FFFF00FFAB4E2DAF4F2DF2D3C8F2D6CCF3D7CDF3D7CDF3D7
            CDF3D7CDF3D7CDF2D6CCF2D3C8AF4F2DFF00FFFF00FFFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB4E2D
            AD4E2DE2A18AF2D6CCE1A089AD4E2DAB4E2DFF00FFFF00FFFF00FFFF00FFFF00
            FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
            FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
            FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF}
          OnClick = btnImprimirClick
        end
      end
      object DBGrid4: TDBGrid
        Left = 0
        Top = 50
        Width = 674
        Height = 122
        Align = alClient
        DataSource = dsDetalhe
        ReadOnly = True
        TabOrder = 1
        TitleFont.Charset = DEFAULT_CHARSET
        TitleFont.Color = clWindowText
        TitleFont.Height = -11
        TitleFont.Name = 'MS Sans Serif'
        TitleFont.Style = []
        Columns = <
          item
            Expanded = False
            FieldName = 'CODLOCACAO'
            Title.Caption = 'Loca'#231#227'o'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'DATAINSTALACAO'
            Title.Caption = 'Instala'#231#227'o'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'DATADESINSTALACAO'
            Title.Caption = 'Desinstala'#231#227'o'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'DATACHEGHORIGEM'
            Visible = False
          end
          item
            Expanded = False
            FieldName = 'CODEQUIPAMENTO'
            Title.Caption = 'Equipamento'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'CODCOMBOIO'
            Title.Caption = 'Comboio'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'CODCLIENTE'
            Visible = False
          end
          item
            Expanded = False
            FieldName = 'CONTROLETRANSPORTE'
            Visible = False
          end
          item
            Expanded = False
            FieldName = 'CODFATURA'
            Visible = False
          end
          item
            Expanded = False
            FieldName = 'VALORLOCACAO'
            Title.Caption = 'Loca'#231#227'o'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'VALORCOMUNICACAO'
            Title.Caption = 'Comunica'#231#227'o'
            Visible = True
          end>
      end
      object Panel8: TPanel
        Left = 0
        Top = 172
        Width = 674
        Height = 50
        Align = alBottom
        BorderStyle = bsSingle
        Ctl3D = True
        ParentCtl3D = False
        TabOrder = 2
      end
    end
    object TabSheet1: TTabSheet
      Caption = 'Conta Rastreador'
      ImageIndex = 5
      object DBGrid5: TDBGrid
        Left = 0
        Top = 50
        Width = 674
        Height = 122
        Align = alClient
        DataSource = dsDetalhe
        ReadOnly = True
        TabOrder = 0
        TitleFont.Charset = DEFAULT_CHARSET
        TitleFont.Color = clWindowText
        TitleFont.Height = -11
        TitleFont.Name = 'MS Sans Serif'
        TitleFont.Style = []
        Columns = <
          item
            Expanded = False
            FieldName = 'CODCONTARASTREADOR'
            Title.Caption = 'C'#243'digo'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'CODVEICULO'
            Title.Caption = 'Ve'#237'culo'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'lkplaca'
            Title.Caption = 'Placa'
            Width = 95
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'DATAINICIO'
            Title.Caption = 'Entrada'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'DATAFINAL'
            Title.Caption = 'Sa'#237'da'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'VALORTOTAL'
            Title.Caption = 'Valor Total'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'OBS'
            Title.Caption = 'Obs.'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'CODCLIENTE'
            Visible = False
          end
          item
            Expanded = False
            FieldName = 'CODRASTREADOR'
            Visible = False
          end
          item
            Expanded = False
            FieldName = 'CODFATURA'
            Visible = False
          end>
      end
      object Panel9: TPanel
        Left = 0
        Top = 0
        Width = 674
        Height = 50
        Align = alTop
        BorderStyle = bsSingle
        Ctl3D = True
        ParentCtl3D = False
        TabOrder = 1
        object SpeedButton8: TSpeedButton
          Left = 24
          Top = 8
          Width = 120
          Height = 30
          Caption = '&Buscar'
          Flat = True
          Glyph.Data = {
            F6060000424DF606000000000000360000002800000018000000180000000100
            180000000000C006000000000000000000000000000000000000FF00FFFF00FF
            FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
            FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB4E2D
            AD4E2DAF4F2DAF4F2DAF4F2DAB4E2DAB4E2DFF00FFFF00FFFF00FFFF00FFFF00
            FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB
            4E2DB2502EBA5430BF5631C25732C25732C25732BF5631B7522FB0502EAB4E2D
            FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
            FFAB4E2DB2502EBD5531C35833CC5D36CD613BCE633ECE633ECE633ECD613BCC
            5B34C35833BB5531AF4F2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
            FF00FFFF00FFAB4E2DB0502EC05732CA5B34CE623CD06844D16B47D16E4BD26F
            4CD16E4BD16B47CF6641CD613BCA5B34BD5531AF4F2DFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFAF4F2DBF5631CC5D36BB5531BD5531C05732
            C25732C35833C35833C35833C25732C05732BD5531BB5531CA5B34BD5531AF4F
            2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAD4E2DBD5531CC5B34CF6641C5
            5933FFFEFDDE947ADE947ADE947ADE957CDE947ADE947ADD9379FFFEFDC55933
            CF643FCA5B34BB5531AB4E2DFF00FFFF00FFFF00FFFF00FFFF00FFB5522FC559
            33CE623CD26F4CCC5D36FFFEFDE5AA95E5AA95E5AA95E5AB97E5AA95E5AA95E4
            A994FFFEFDCC5B34D16B47CD613BC35833B0502EFF00FFFF00FFFF00FFFF00FF
            AB4E2DBD5531CC5D36D06844D37351CD5F39FFFEFDE2A18AEEC6B8EEC6B8EEC7
            BAEEC6B8EEC6B8E5AB97FFFEFDCD5F39D2704ECF6641CC5B34B7522FAB4E2DFF
            00FFFF00FFFF00FFAD4E2DC25732CE623CD16E4BD47756D57B5BFFFEFDEABBAA
            E6AE9AE6AE9AE6AE9AE6AE9AE6AE9AEABCACFFFEFDD57B5BD37453D16B47CD61
            3BBF5631AB4E2DFF00FFFF00FFFF00FFB0502EC55933DA8A6EDD9379DF9981DA
            896CFFFEFDE9BAA9FFFEFDFFFEFDFFFFFFFFFEFDFFFEFDECC1B2FFFEFDDA896C
            DF987FDD9177DA8A6EC25732AF4F2DFF00FFFF00FFFF00FFC55933DA8A6EDD91
            77E09A82E2A18ADD9177FFFEFDECC3B4E9B7A5E9B7A5E9B7A5E9B7A5E9B7A5ED
            C5B7FFFEFDDD9177E19E87DF9981DD9177DA876AC25732FF00FFFF00FFFF00FF
            D16E4BDD9379E09C84E2A28CE4A792E09A82FFFEFDEDC4B5FFFEFDFFFEFDFFFF
            FFFFFEFDFFFEFDEFCABDFFFEFDE09A82E4A792E2A28CE09A82DD9177D16C49FF
            00FFFF00FFFF00FFAD4E2DE09A82E2A28CE4A994E6AF9CE2A28CFFFEFDF0CEC2
            EEC7BAEEC7BAEEC7BAEEC7BAEEC7BAF0CEC2FFFEFDE2A28CE6AE9AE4A792E2A2
            8CDF9981AD4E2DFF00FFFF00FFFF00FFAB4E2DE2A18AE4A792E6AE9AE8B4A2E5
            AA95FFFEFDF1D2C7F1D2C7F1D2C7F2D3C8F0CFC4EEC6B8EEC6B8FFFEFDE4A994
            E7B29FE6AE9AE4A792E19E87AB4E2DFF00FFFF00FFFF00FFFF00FFE4A994E6AF
            9CE8B4A2EABBAAE7B29FFFFFFFF2D6CCF3D7CDF3D7CDF3D7CDF0CFC4FFFFFFF9
            EAE5FFFFFFE9B8A7E9BAA9E8B4A2E6AE9AE3A691FF00FFFF00FFFF00FFFF00FF
            FF00FFAF4F2DE8B4A2E9BAA9EBBFAFE9B8A7FFFFFFF4D9D0F4D9D0F4D9D0F4DB
            D2F2D3C8FFFFFFFFFEFDEBBFAFECC3B4EBBDADE9BAA9E8B4A2AB4E2DFF00FFFF
            00FFFF00FFFF00FFFF00FFAB4E2DEABBAAEBBFAFECC3B4EBBDADFFFFFFFFFFFF
            FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEEC6B8EEC9BCEDC5B7ECC1B2EBBFAFE9BA
            A9FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB4E2DEDC4B5EEC7BAEF
            CBBFF0CCC0F0CFC4F1D0C5F1D0C5F1D0C5F1D0C5F1D0C5F0CFC4F0CCC0EFCABD
            EEC7BAEDC4B5AB4E2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
            FFAB4E2DEFCBBFF0CEC2F1D0C5F1D2C7F2D3C8F2D4CAF2D4CAF2D4CAF2D3C8F1
            D2C7F1D0C5F0CEC2E7B3A1AB4E2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
            FF00FFFF00FFFF00FFFF00FFAB4E2DAF4F2DF2D3C8F2D6CCF3D7CDF3D7CDF3D7
            CDF3D7CDF3D7CDF2D6CCF2D3C8AF4F2DFF00FFFF00FFFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB4E2D
            AD4E2DE2A18AF2D6CCE1A089AD4E2DAB4E2DFF00FFFF00FFFF00FFFF00FFFF00
            FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
            FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
            FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF}
          OnClick = SpeedButton8Click
        end
        object SpeedButton9: TSpeedButton
          Left = 152
          Top = 8
          Width = 120
          Height = 30
          Caption = '&Imprimir'
          Flat = True
          Glyph.Data = {
            F6060000424DF606000000000000360000002800000018000000180000000100
            180000000000C006000000000000000000000000000000000000FF00FFFF00FF
            FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
            FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB4E2D
            AD4E2DAF4F2DAF4F2DAF4F2DAB4E2DAB4E2DFF00FFFF00FFFF00FFFF00FFFF00
            FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB
            4E2DB2502EBA5430BF5631C25732C25732C25732BF5631B7522FB0502EAB4E2D
            FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
            FFAB4E2DB2502EBD5531C35833CC5D36CD613BCE633ECE633ECE633ECD613BCC
            5B34C35833BB5531AF4F2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
            FF00FFFF00FFAB4E2DB0502EC05732CA5B34CE623CD06844D16B47D16E4BD26F
            4CD16E4BD16B47CF6641CD613BCA5B34BD5531AF4F2DFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFAF4F2DBF5631CC5D36CF643FD16C49D3714F
            D37453D47756D47756D47554D37453D2704ED16B47CF643FCA5B34BD5531AF4F
            2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAD4E2DBD5531CC5B34CF6641C2
            5732C85A34CC5D36CD5E37CD5E37CD5F39CD5E37CD5E37CC5B34C85A34C25732
            CF643FCA5B34BB5531AB4E2DFF00FFFF00FFFF00FFFF00FFFF00FFB5522FC559
            33CE623CD26F4CFFFFFFDE947ADE957CDE977EDE977EDE977EDE977EDE977EDE
            957CDE947AFFFFFFD16B47CD613BC35833B0502EFF00FFFF00FFFF00FFFF00FF
            AB4E2DBD5531CC5D36D06844D37351FFFFFFDE957CE2A28CE3A38DE3A38DE3A3
            8DE3A38DE3A38DE2A28CDE957CFFFFFFD2704ECF6641CC5B34B7522FAB4E2DFF
            00FFFF00FFFF00FFAD4E2DC25732CE623CD16E4BD47756FFFFFFE5AB97FFFFFF
            FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE5AB97FFFFFFD37453D16B47CD61
            3BBF5631AB4E2DFF00FFFF00FFFF00FFB0502EC55933DA8A6EDD9379DF9981FF
            FFFFE7B09DE7B29FE7B29FE7B29FE7B29FE7B29FE7B29FE7B29FE7B09DFFFFFF
            DF987FDD9177DA8A6EC25732AF4F2DFF00FFFF00FFFF00FFC55933DA8A6EDD91
            77E09A82E2A18AFCF3F0FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
            FFFFFFFFFFE3A58FE19E87DF9981DD9177DA876AC25732FF00FFFF00FFFF00FF
            D16E4BDD9379E09C84E2A28CE4A792E5AB97E6AE9AFFFFFFF4D9D0F7E2DBF7E2
            DBF7E2DBF2D3C8E2A18AE6AE9AE5AB97E4A792E2A28CE09A82DD9177D16C49FF
            00FFFF00FFFF00FFAD4E2DE09A82E2A28CE4A994E6AF9CE7B29FE8B4A2FFFFFF
            F3D7CDF3D7CDF3D7CDF3D7CDF3D7CDE4A994E8B4A2E7B29FE6AE9AE4A792E2A2
            8CDF9981AD4E2DFF00FFFF00FFFF00FFAB4E2DE2A18AE4A792E6AE9AE8B4A2E9
            B7A5E9BAA9FFFFFFF4DBD2F4DBD2F4DBD2F4DBD2F4DBD2E6AF9CE9BAA9E9B7A5
            E7B29FE6AE9AE4A792E19E87AB4E2DFF00FFFF00FFFF00FFFF00FFE4A994E6AF
            9CE8B4A2EABBAAEBBDADECC0B0FFFFFFF9E9E3FFFFFFFFFFFFFFFFFFF5DFD7E9
            B7A5ECC0B0EBBDADE9BAA9E8B4A2E6AE9AE3A691FF00FFFF00FFFF00FFFF00FF
            FF00FFAF4F2DE8B4A2E9BAA9EBBFAFECC3B4EDC5B7FFFFFFF6E1DAF6E1DAF6E1
            DAF6E1DAF6E1DAEBBDADEDC5B7ECC3B4EBBDADE9BAA9E8B4A2AB4E2DFF00FFFF
            00FFFF00FFFF00FFFF00FFAB4E2DEABBAAEBBFAFECC3B4EEC6B8EEC9BCECC0B0
            ECC1B2ECC1B2ECC1B2ECC1B2ECC1B2ECC0B0EEC9BCEDC5B7ECC1B2EBBFAFE9BA
            A9FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB4E2DEDC4B5EEC7BAEF
            CBBFF0CCC0F0CFC4F1D0C5F1D0C5F1D0C5F1D0C5F1D0C5F0CFC4F0CCC0EFCABD
            EEC7BAEDC4B5AB4E2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
            FFAB4E2DEFCBBFF0CEC2F1D0C5F1D2C7F2D3C8F2D4CAF2D4CAF2D4CAF2D3C8F1
            D2C7F1D0C5F0CEC2E7B3A1AB4E2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
            FF00FFFF00FFFF00FFFF00FFAB4E2DAF4F2DF2D3C8F2D6CCF3D7CDF3D7CDF3D7
            CDF3D7CDF3D7CDF2D6CCF2D3C8AF4F2DFF00FFFF00FFFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB4E2D
            AD4E2DE2A18AF2D6CCE1A089AD4E2DAB4E2DFF00FFFF00FFFF00FFFF00FFFF00
            FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
            FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
            FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF}
          OnClick = btnImprimirClick
        end
      end
      object Panel10: TPanel
        Left = 0
        Top = 172
        Width = 674
        Height = 50
        Align = alBottom
        BorderStyle = bsSingle
        Ctl3D = True
        ParentCtl3D = False
        TabOrder = 2
      end
    end
    object ItemNota: TTabSheet
      Caption = 'Item nota'
      ImageIndex = 2
      object Panel3: TPanel
        Left = 0
        Top = 0
        Width = 674
        Height = 50
        Align = alTop
        BorderStyle = bsSingle
        Ctl3D = True
        ParentCtl3D = False
        TabOrder = 0
        object btnItens: TSpeedButton
          Left = 15
          Top = 8
          Width = 66
          Height = 30
          Caption = '&Itens'
          Flat = True
          Glyph.Data = {
            F6060000424DF606000000000000360000002800000018000000180000000100
            180000000000C006000000000000000000000000000000000000FF00FFFF00FF
            FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
            FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB4E2D
            AD4E2DAF4F2DAF4F2DAF4F2DAB4E2DAB4E2DFF00FFFF00FFFF00FFFF00FFFF00
            FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB
            4E2DB2502EBA5430BF5631C25732C25732C25732BF5631B7522FB0502EAB4E2D
            FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
            FFAB4E2DB2502EBD5531C35833CC5D36CD613BCE633ECE633ECE633ECD613BCC
            5B34C35833BB5531AF4F2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
            FF00FFFF00FFAB4E2DB0502EC05732CA5B34CE623CD06844D16B47D16E4BD26F
            4CD16E4BD16B47CF6641CD613BCA5B34BD5531AF4F2DFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFAF4F2DBF5631CC5D36CF643FD16C49D3714F
            C75933CA5B34CA5B34C85A34D37453D2704ED16B47CF643FCA5B34BD5531AF4F
            2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAD4E2DBD5531CC5B34CF6641D2
            6F4CD47554D57959DF987FFFFFFFFFFFFFFFFFFFD57857D57857D47554D26F4C
            CF643FCA5B34BB5531AB4E2DFF00FFFF00FFFF00FFFF00FFFF00FFB5522FC559
            33CE623CD26F4CD47554D57B5BD67D5EE09A82FFFFFFFFFFFFFFFFFFD67C5CD6
            7D5ED57959D47554D16B47CD613BC35833B0502EFF00FFFF00FFFF00FFFF00FF
            AB4E2DBD5531CC5D36D06844D37351D57959D67D5ED78061E09A82FFFFFFFFFF
            FFFFFFFFD77E5FD78061D67D5ED57857D2704ECF6641CC5B34B7522FAB4E2DFF
            00FFFF00FFFF00FFAD4E2DC25732CE623CD16E4BD37351DC8D72DE957CDE977E
            E6AF9CFFFFFFFFFFFFFFFFFFDD9379DE977EDE947ADC8D72D37351D16B47CD61
            3BBF5631AB4E2DFF00FFFF00FFFF00FFB0502EC55933DA8A6EDC9076FFFFFFFF
            FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
            DA876ADD9177DA8A6EC25732AF4F2DFF00FFFF00FFFF00FFC55933DA8A6EDD91
            77DF987FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
            FFFFFFFFFFFFFFFFDC9076DF9981DD9177DA876AC25732FF00FFFF00FFFF00FF
            D16E4BDD9379E09C84E2A18AFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
            FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFDF9981E2A28CE09A82DD9177D16C49FF
            00FFFF00FFFF00FFAD4E2DE09A82E2A28CE4A994ECC1B2ECC3B4EDC4B5EDC4B5
            F7E4DDFFFFFFFFFFFFFFFFFFEDC5B7EDC4B5EDC4B5ECC3B4E19D85E4A792E2A2
            8CDF9981AD4E2DFF00FFFF00FFFF00FFAB4E2DE2A18AE4A792E6AE9AE8B4A2E9
            B7A5E9BAA9EABBAAEEC9BCFFFFFFFFFFFFFFFFFFE9B8A7EABBAAE9BAA9E9B7A5
            E7B29FE6AE9AE4A792E19E87AB4E2DFF00FFFF00FFFF00FFFF00FFE4A994E6AF
            9CE8B4A2EABBAAEBBDADECC0B0ECC1B2F0CFC4FFFFFFFFFFFFFFFFFFECC1B2EC
            C1B2ECC0B0EBBDADE9BAA9E8B4A2E6AE9AE3A691FF00FFFF00FFFF00FFFF00FF
            FF00FFAF4F2DE8B4A2E9BAA9EBBFAFECC3B4EDC5B7EEC6B8F2D3C8FFFFFFFFFF
            FFFFFFFFEDC5B7EEC6B8EDC5B7ECC3B4EBBDADE9BAA9E8B4A2AB4E2DFF00FFFF
            00FFFF00FFFF00FFFF00FFAB4E2DEABBAAEBBFAFECC3B4EEC6B8EEC9BCEFCABD
            F3D7CDFFFFFFFFFFFFFFFFFFEFCABDEFCABDEEC9BCEDC5B7ECC1B2EBBFAFE9BA
            A9FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB4E2DEDC4B5EEC7BAEF
            CBBFF0CCC0F0CFC4F0CCC0EFCBBFEFCBBFEFCBBFF1D0C5F0CFC4F0CCC0EFCABD
            EEC7BAEDC4B5AB4E2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
            FFAB4E2DEFCBBFF0CEC2F1D0C5F1D2C7F2D3C8F2D4CAF2D4CAF2D4CAF2D3C8F1
            D2C7F1D0C5F0CEC2E7B3A1AB4E2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
            FF00FFFF00FFFF00FFFF00FFAB4E2DAF4F2DF2D3C8F2D6CCF3D7CDF3D7CDF3D7
            CDF3D7CDF3D7CDF2D6CCF2D3C8AF4F2DFF00FFFF00FFFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB4E2D
            AD4E2DE2A18AF2D6CCE1A089AD4E2DAB4E2DFF00FFFF00FFFF00FFFF00FFFF00
            FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
            FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
            FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF}
          OnClick = btnItensClick
        end
      end
      object DBGrid2: TDBGrid
        Left = 0
        Top = 50
        Width = 674
        Height = 122
        Align = alClient
        DataSource = dsDetalhe
        TabOrder = 1
        TitleFont.Charset = DEFAULT_CHARSET
        TitleFont.Color = clWindowText
        TitleFont.Height = -11
        TitleFont.Name = 'MS Sans Serif'
        TitleFont.Style = []
        OnColExit = DBGrid2ColExit
        Columns = <
          item
            Expanded = False
            FieldName = 'CODITEM'
            Title.Caption = 'Codigo'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'lkItem'
            Title.Caption = 'Item'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'QUANTIDADE'
            Title.Caption = 'Quantidade'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'VALORUNITARIO'
            Title.Caption = 'Valor unitario'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'VALORTOTAL'
            Title.Caption = 'Valor Total'
            Visible = True
          end>
      end
      object Panel4: TPanel
        Left = 0
        Top = 172
        Width = 674
        Height = 50
        Align = alBottom
        BorderStyle = bsSingle
        Ctl3D = True
        ParentCtl3D = False
        TabOrder = 2
      end
    end
    object Parcela: TTabSheet
      Caption = 'Parcela'
      ImageIndex = 3
      object Panel5: TPanel
        Left = 0
        Top = 0
        Width = 674
        Height = 50
        Align = alTop
        BorderStyle = bsSingle
        Ctl3D = True
        ParentCtl3D = False
        TabOrder = 0
        object SpeedButton4: TSpeedButton
          Left = 16
          Top = 8
          Width = 121
          Height = 30
          Caption = '&Gerar Parcelas'
          Flat = True
          Glyph.Data = {
            F6060000424DF606000000000000360000002800000018000000180000000100
            180000000000C006000000000000000000000000000000000000FF00FFFF00FF
            FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
            FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB4E2D
            AD4E2DAF4F2DAF4F2DAF4F2DAB4E2DAB4E2DFF00FFFF00FFFF00FFFF00FFFF00
            FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB
            4E2DB2502EBA5430BF5631C25732C25732C25732BF5631B7522FB0502EAB4E2D
            FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
            FFAB4E2DB2502EBD5531C35833CC5D36CD613BCE633ECE633ECE633ECD613BCC
            5B34C35833BB5531AF4F2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
            FF00FFFF00FFAB4E2DB0502EC05732CA5B34CE623CD06844D16B47C05732C358
            33D16E4BD16B47CF6641CD613BCA5B34BD5531AF4F2DFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFAF4F2DBF5631CC5D36CF643FD16C49D3714F
            C75933FFFFFFCA5B34D47554D37453D2704ED16B47CF643FCA5B34BD5531AF4F
            2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAD4E2DBD5531CC5B34CF6641D2
            6F4CC85A34FFFFFFFFFFFFFFFFFFCF643FCD5E37CF6743D57857D47554D26F4C
            CF643FCA5B34BB5531AB4E2DFF00FFFF00FFFF00FFFF00FFFF00FFB5522FC559
            33CE623CD26F4CC85A34FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFCD
            5F39D57959D47554D16B47CD613BC35833B0502EFF00FFFF00FFFF00FFFF00FF
            AB4E2DBD5531CC5D36D06844C55933FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
            FFFFFFFFFFFFFFFFFFFFCD613BD57857D2704ECF6641CC5B34B7522FAB4E2DFF
            00FFFF00FFFF00FFAD4E2DC25732CE623CD16E4BCA5B34D57857D88162FFFFFF
            FFFFFFFFFFFFE9BAA9FEFBFAFFFFFFFFFFFFFFFFFFD57857D37453D16B47CD61
            3BBF5631AB4E2DFF00FFFF00FFFF00FFB0502EC55933DA8A6EDD9379DA8A6EFC
            F3F0E1A089DA8A6EFFFFFFFFFFFFDA8A6EE2A18ADB8C71FDF9F7FFFFFFF4DCD4
            DF987FDD9177DA8A6EC25732AF4F2DFF00FFFF00FFFF00FFC55933DA8A6EDD91
            77E09A82E1A089FFFFFFDC9076E4A792E19D85E3A58FDD9177DD9177E4A792E3
            A58FF1D0C5FFFFFFE19E87DF9981DD9177DA876AC25732FF00FFFF00FFFF00FF
            D16E4BDD9379E09C84E2A28CE4A792FAEEEAFFFFFFE1A089E3A58FE6AF9CE09C
            84FFFFFFFFFFFFE19D85E5AD99FFFCFBE4A792E2A28CE09A82DD9177D16C49FF
            00FFFF00FFFF00FFAD4E2DE09A82E2A28CE4A994E6AF9CE2A18AFFFFFFFFFFFF
            FFFFFFFAEDE8E6AE9AFFFFFFFFFFFFFFFFFFE2A28CE2A18AE6AE9AE4A792E2A2
            8CDF9981AD4E2DFF00FFFF00FFFF00FFAB4E2DE2A18AE4A792E6AE9AE8B4A2E9
            B7A5F2D4CAFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEEC9BC
            E7B29FE6AE9AE4A792E19E87AB4E2DFF00FFFF00FFFF00FFFF00FFE4A994E6AF
            9CE8B4A2EABBAAEBBDADECC0B0EBBDADFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
            FFFFFFFFFFE6AF9CE9BAA9E8B4A2E6AE9AE3A691FF00FFFF00FFFF00FFFF00FF
            FF00FFAF4F2DE8B4A2E9BAA9EBBFAFECC3B4EDC5B7EEC6B8EABBAAEABBAAEBBF
            AFFFFFFFFFFFFFFFFFFFE9B8A7ECC3B4EBBDADE9BAA9E8B4A2AB4E2DFF00FFFF
            00FFFF00FFFF00FFFF00FFAB4E2DEABBAAEBBFAFECC3B4EEC6B8EEC9BCEFCABD
            EFCBBFF0CCC0ECC1B2FFFFFFF4DCD4EEC9BCEEC9BCEDC5B7ECC1B2EBBFAFE9BA
            A9FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB4E2DEDC4B5EEC7BAEF
            CBBFF0CCC0F0CFC4F1D0C5F1D0C5EEC7BAEEC7BAF1D0C5F0CFC4F0CCC0EFCABD
            EEC7BAEDC4B5AB4E2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
            FFAB4E2DEFCBBFF0CEC2F1D0C5F1D2C7F2D3C8F2D4CAF2D4CAF2D4CAF2D3C8F1
            D2C7F1D0C5F0CEC2E7B3A1AB4E2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
            FF00FFFF00FFFF00FFFF00FFAB4E2DAF4F2DF2D3C8F2D6CCF3D7CDF3D7CDF3D7
            CDF3D7CDF3D7CDF2D6CCF2D3C8AF4F2DFF00FFFF00FFFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB4E2D
            AD4E2DE2A18AF2D6CCE1A089AD4E2DAB4E2DFF00FFFF00FFFF00FFFF00FFFF00
            FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
            FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
            FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF}
          OnClick = SpeedButton4Click
        end
        object SpeedButton5: TSpeedButton
          Left = 152
          Top = 8
          Width = 120
          Height = 30
          Caption = '&Imprimir'
          Flat = True
          Glyph.Data = {
            F6060000424DF606000000000000360000002800000018000000180000000100
            180000000000C006000000000000000000000000000000000000FF00FFFF00FF
            FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
            FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB4E2D
            AD4E2DAF4F2DAF4F2DAF4F2DAB4E2DAB4E2DFF00FFFF00FFFF00FFFF00FFFF00
            FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB
            4E2DB2502EBA5430BF5631C25732C25732C25732BF5631B7522FB0502EAB4E2D
            FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
            FFAB4E2DB2502EBD5531C35833CC5D36CD613BCE633ECE633ECE633ECD613BCC
            5B34C35833BB5531AF4F2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
            FF00FFFF00FFAB4E2DB0502EC05732CA5B34CE623CD06844D16B47D16E4BD26F
            4CD16E4BD16B47CF6641CD613BCA5B34BD5531AF4F2DFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFAF4F2DBF5631CC5D36CF643FD16C49D3714F
            D37453D47756D47756D47554D37453D2704ED16B47CF643FCA5B34BD5531AF4F
            2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAD4E2DBD5531CC5B34CF6641C2
            5732C85A34CC5D36CD5E37CD5E37CD5F39CD5E37CD5E37CC5B34C85A34C25732
            CF643FCA5B34BB5531AB4E2DFF00FFFF00FFFF00FFFF00FFFF00FFB5522FC559
            33CE623CD26F4CFFFFFFDE947ADE957CDE977EDE977EDE977EDE977EDE977EDE
            957CDE947AFFFFFFD16B47CD613BC35833B0502EFF00FFFF00FFFF00FFFF00FF
            AB4E2DBD5531CC5D36D06844D37351FFFFFFDE957CE2A28CE3A38DE3A38DE3A3
            8DE3A38DE3A38DE2A28CDE957CFFFFFFD2704ECF6641CC5B34B7522FAB4E2DFF
            00FFFF00FFFF00FFAD4E2DC25732CE623CD16E4BD47756FFFFFFE5AB97FFFFFF
            FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE5AB97FFFFFFD37453D16B47CD61
            3BBF5631AB4E2DFF00FFFF00FFFF00FFB0502EC55933DA8A6EDD9379DF9981FF
            FFFFE7B09DE7B29FE7B29FE7B29FE7B29FE7B29FE7B29FE7B29FE7B09DFFFFFF
            DF987FDD9177DA8A6EC25732AF4F2DFF00FFFF00FFFF00FFC55933DA8A6EDD91
            77E09A82E2A18AFCF3F0FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
            FFFFFFFFFFE3A58FE19E87DF9981DD9177DA876AC25732FF00FFFF00FFFF00FF
            D16E4BDD9379E09C84E2A28CE4A792E5AB97E6AE9AFFFFFFF4D9D0F7E2DBF7E2
            DBF7E2DBF2D3C8E2A18AE6AE9AE5AB97E4A792E2A28CE09A82DD9177D16C49FF
            00FFFF00FFFF00FFAD4E2DE09A82E2A28CE4A994E6AF9CE7B29FE8B4A2FFFFFF
            F3D7CDF3D7CDF3D7CDF3D7CDF3D7CDE4A994E8B4A2E7B29FE6AE9AE4A792E2A2
            8CDF9981AD4E2DFF00FFFF00FFFF00FFAB4E2DE2A18AE4A792E6AE9AE8B4A2E9
            B7A5E9BAA9FFFFFFF4DBD2F4DBD2F4DBD2F4DBD2F4DBD2E6AF9CE9BAA9E9B7A5
            E7B29FE6AE9AE4A792E19E87AB4E2DFF00FFFF00FFFF00FFFF00FFE4A994E6AF
            9CE8B4A2EABBAAEBBDADECC0B0FFFFFFF9E9E3FFFFFFFFFFFFFFFFFFF5DFD7E9
            B7A5ECC0B0EBBDADE9BAA9E8B4A2E6AE9AE3A691FF00FFFF00FFFF00FFFF00FF
            FF00FFAF4F2DE8B4A2E9BAA9EBBFAFECC3B4EDC5B7FFFFFFF6E1DAF6E1DAF6E1
            DAF6E1DAF6E1DAEBBDADEDC5B7ECC3B4EBBDADE9BAA9E8B4A2AB4E2DFF00FFFF
            00FFFF00FFFF00FFFF00FFAB4E2DEABBAAEBBFAFECC3B4EEC6B8EEC9BCECC0B0
            ECC1B2ECC1B2ECC1B2ECC1B2ECC1B2ECC0B0EEC9BCEDC5B7ECC1B2EBBFAFE9BA
            A9FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB4E2DEDC4B5EEC7BAEF
            CBBFF0CCC0F0CFC4F1D0C5F1D0C5F1D0C5F1D0C5F1D0C5F0CFC4F0CCC0EFCABD
            EEC7BAEDC4B5AB4E2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
            FFAB4E2DEFCBBFF0CEC2F1D0C5F1D2C7F2D3C8F2D4CAF2D4CAF2D4CAF2D3C8F1
            D2C7F1D0C5F0CEC2E7B3A1AB4E2DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
            FF00FFFF00FFFF00FFFF00FFAB4E2DAF4F2DF2D3C8F2D6CCF3D7CDF3D7CDF3D7
            CDF3D7CDF3D7CDF2D6CCF2D3C8AF4F2DFF00FFFF00FFFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFAB4E2D
            AD4E2DE2A18AF2D6CCE1A089AD4E2DAB4E2DFF00FFFF00FFFF00FFFF00FFFF00
            FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
            FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
            FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF}
          OnClick = SpeedButton5Click
        end
      end
      object DBGrid3: TDBGrid
        Left = 0
        Top = 50
        Width = 674
        Height = 122
        Align = alClient
        DataSource = dsDetalhe
        TabOrder = 1
        TitleFont.Charset = DEFAULT_CHARSET
        TitleFont.Color = clWindowText
        TitleFont.Height = -11
        TitleFont.Name = 'MS Sans Serif'
        TitleFont.Style = []
        Columns = <
          item
            Expanded = False
            FieldName = 'CODTRANSACAO'
            Title.Caption = 'Transa'#231#227'o'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'DATAREC'
            Title.Caption = 'Data Rec.'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'DATAVENC'
            Title.Caption = 'Data Venc.'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'VALORVENC'
            Title.Caption = 'Valor Venc.'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'VALORREC'
            Title.Caption = 'Valor Rec.'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'TIPOPAG'
            Title.Caption = 'Tipo Pag.'
            Visible = True
          end>
      end
      object Panel6: TPanel
        Left = 0
        Top = 172
        Width = 674
        Height = 50
        Align = alBottom
        BorderStyle = bsSingle
        Ctl3D = True
        ParentCtl3D = False
        TabOrder = 2
      end
    end
  end
  inherited PanelAtalhos: TPanel
    Width = 682
    ExplicitWidth = 664
  end
  inherited dsPrincipal: TDataSource
    DataSet = DMprinc.QueryFatura
  end
  inherited dsDetalhe: TDataSource
    DataSet = QueryContaRastreador
    OnDataChange = dsDetalheDataChange
  end
  inherited PopupMenuOpcoes: TPopupMenu
    object DefinirTipodePagamento1: TMenuItem
      Caption = 'Definir Tipo de Pagamento'
      OnClick = DefinirTipodePagamento1Click
    end
  end
  object QueryDetalhe: TZQuery
    Connection = DMprinc.ZConnection1
    SortedFields = 'CODFATURA'
    OnCalcFields = QueryDetalheCalcFields
    SQL.Strings = (
      'select * from comboio'
      'where codfatura = :pcodmaster')
    Params = <
      item
        DataType = ftInteger
        Name = 'pcodmaster'
        ParamType = ptUnknown
      end>
    MasterFields = 'CODFATURA'
    MasterSource = dsPrincipal
    IndexFieldNames = 'CODFATURA Asc'
    Left = 228
    Top = 347
    ParamData = <
      item
        DataType = ftInteger
        Name = 'pcodmaster'
        ParamType = ptUnknown
      end>
    object QueryDetalheCODCOMBOIO: TIntegerField
      FieldName = 'CODCOMBOIO'
      Required = True
    end
    object QueryDetalheDATA: TDateField
      FieldName = 'DATA'
    end
    object QueryDetalhePREVISAOSAIDA: TDateField
      FieldName = 'PREVISAOSAIDA'
    end
    object QueryDetalheKMPREVISTO: TIntegerField
      FieldName = 'KMPREVISTO'
    end
    object QueryDetalheCODCLIENTE: TIntegerField
      FieldName = 'CODCLIENTE'
    end
    object QueryDetalheCODRASTREADOR: TIntegerField
      FieldName = 'CODRASTREADOR'
    end
    object QueryDetalheCODORIGEM: TIntegerField
      FieldName = 'CODORIGEM'
    end
    object QueryDetalheCODDESTINO: TIntegerField
      FieldName = 'CODDESTINO'
    end
    object QueryDetalheCODFATURA: TIntegerField
      FieldName = 'CODFATURA'
    end
    object QueryDetalheorigem: TStringField
      FieldKind = fkCalculated
      FieldName = 'origem'
      Calculated = True
    end
    object QueryDetalhedestino: TStringField
      FieldKind = fkCalculated
      FieldName = 'destino'
      Calculated = True
    end
    object QueryDetalhelkcliente: TStringField
      FieldKind = fkLookup
      FieldName = 'lkcliente'
      LookupDataSet = DMprinc.QueryCliente
      LookupKeyFields = 'CODCLIENTE'
      LookupResultField = 'NOME'
      KeyFields = 'CODCLIENTE'
      Lookup = True
    end
    object QueryDetalheVALOR: TFloatField
      FieldName = 'VALOR'
    end
    object QueryDetalheVALORKM: TFloatField
      FieldName = 'VALORKM'
    end
    object QueryDetalhePREVISAOCHEGADA: TDateTimeField
      FieldName = 'PREVISAOCHEGADA'
    end
    object QueryDetalheDATACHEGADA: TDateTimeField
      FieldName = 'DATACHEGADA'
    end
    object QueryDetalheEXPORTADO: TSmallintField
      FieldName = 'EXPORTADO'
    end
    object QueryDetalheCOMBOIOCLIENTE: TStringField
      FieldName = 'COMBOIOCLIENTE'
    end
    object QueryDetalheUSUARIODIG: TStringField
      FieldName = 'USUARIODIG'
    end
    object QueryDetalheSITE: TSmallintField
      FieldName = 'SITE'
    end
    object QueryDetalheESPECIAL: TSmallintField
      FieldName = 'ESPECIAL'
    end
    object QueryDetalhelkRastreador: TStringField
      FieldKind = fkLookup
      FieldName = 'lkRastreador'
      LookupDataSet = DMSr.QueryRastreador
      LookupKeyFields = 'CODRASTREADOR'
      LookupResultField = 'DESCRICAO'
      KeyFields = 'CODRASTREADOR'
      Lookup = True
    end
  end
  object QueryItemNota: TZQuery
    Connection = DMprinc.ZConnection1
    SortedFields = 'CODFATURA'
    BeforePost = QueryItemNotaBeforePost
    SQL.Strings = (
      'select * from itemfatura'
      'where codfatura = :pcodmaster')
    Params = <
      item
        DataType = ftInteger
        Name = 'pcodmaster'
        ParamType = ptUnknown
      end>
    MasterFields = 'CODFATURA'
    MasterSource = dsPrincipal
    IndexFieldNames = 'CODFATURA Asc'
    Left = 412
    Top = 283
    ParamData = <
      item
        DataType = ftInteger
        Name = 'pcodmaster'
        ParamType = ptUnknown
      end>
    object QueryItemNotaCODITEMFATURA: TIntegerField
      FieldName = 'CODITEMFATURA'
      Required = True
    end
    object QueryItemNotaCODFATURA: TIntegerField
      FieldName = 'CODFATURA'
    end
    object QueryItemNotaCODITEM: TIntegerField
      FieldName = 'CODITEM'
    end
    object QueryItemNotaVALORUNITARIO: TFloatField
      FieldName = 'VALORUNITARIO'
      OnValidate = QueryItemNotaVALORUNITARIOValidate
      currency = True
    end
    object QueryItemNotaVALORTOTAL: TFloatField
      FieldName = 'VALORTOTAL'
      currency = True
    end
    object QueryItemNotaQUANTIDADE: TIntegerField
      FieldName = 'QUANTIDADE'
    end
    object QueryItemNotalkItem: TStringField
      FieldKind = fkLookup
      FieldName = 'lkItem'
      LookupDataSet = DMprinc.QueryItemRec
      LookupKeyFields = 'CODITEM'
      LookupResultField = 'DESCRICAO'
      KeyFields = 'CODITEM'
      Lookup = True
    end
  end
  object QueryParcela: TZQuery
    Connection = DMprinc.ZConnection1
    SortedFields = 'CODFATURA'
    OnCalcFields = QueryParcelaCalcFields
    SQL.Strings = (
      'select * from parcelareceber'
      'where codfatura = :pcodmaster')
    Params = <
      item
        DataType = ftInteger
        Name = 'pcodmaster'
        ParamType = ptUnknown
      end>
    MasterFields = 'CODFATURA'
    MasterSource = dsPrincipal
    IndexFieldNames = 'CODFATURA Asc'
    Left = 356
    Top = 291
    ParamData = <
      item
        DataType = ftInteger
        Name = 'pcodmaster'
        ParamType = ptUnknown
      end>
    object QueryParcelaCODPARCELARECEBER: TIntegerField
      FieldName = 'CODPARCELARECEBER'
      Required = True
    end
    object QueryParcelaCODFATURA: TIntegerField
      FieldName = 'CODFATURA'
    end
    object QueryParcelaCODTRANSACAO: TIntegerField
      FieldName = 'CODTRANSACAO'
    end
    object QueryParcelaDATAREC: TDateField
      FieldName = 'DATAREC'
    end
    object QueryParcelaDATAVENC: TDateField
      FieldName = 'DATAVENC'
    end
    object QueryParcelaVALORVENC: TFloatField
      FieldName = 'VALORVENC'
      currency = True
    end
    object QueryParcelaVALORREC: TFloatField
      FieldName = 'VALORREC'
      currency = True
    end
    object QueryParcelaTIPOPAG: TStringField
      FieldKind = fkCalculated
      FieldName = 'TIPOPAG'
      Calculated = True
    end
    object QueryParcelaCODTIPOPAGAMENTO: TIntegerField
      FieldName = 'CODTIPOPAGAMENTO'
    end
  end
  object PopupMenu1: TPopupMenu
    Left = 524
    Top = 59
    object Fatura1: TMenuItem
      Caption = 'Fatura KM'
      OnClick = Fatura1Click
    end
    object FaturaMensal1: TMenuItem
      Caption = 'Fatura Mensal'
      OnClick = FaturaMensal1Click
    end
    object FaturaLocao1: TMenuItem
      Caption = 'Fatura Loca'#231#227'o'
      OnClick = FaturaLocao1Click
    end
    object FaturaViagem1: TMenuItem
      Caption = 'Fatura Viagem'
    end
    object FaturaLayout31: TMenuItem
      Caption = 'Fatura Layout 3'
      OnClick = FaturaLayout31Click
    end
    object FaturaLayout32: TMenuItem
      Caption = 'Fatura Layout 4'
      OnClick = FaturaLayout32Click
    end
    object FaturaContaRastreador1: TMenuItem
      Caption = 'Fatura Conta Rastreador'
      OnClick = FaturaContaRastreador1Click
    end
  end
  object QueryLocacao: TZQuery
    Connection = DMprinc.ZConnection1
    SortedFields = 'CODFATURA'
    OnCalcFields = QueryDetalheCalcFields
    SQL.Strings = (
      'select * from locacao'
      'where codfatura = :pcodmaster')
    Params = <
      item
        DataType = ftInteger
        Name = 'pcodmaster'
        ParamType = ptUnknown
      end>
    MasterFields = 'CODFATURA'
    MasterSource = dsPrincipal
    IndexFieldNames = 'CODFATURA Asc'
    Left = 284
    Top = 331
    ParamData = <
      item
        DataType = ftInteger
        Name = 'pcodmaster'
        ParamType = ptUnknown
      end>
    object QueryLocacaoCODLOCACAO: TIntegerField
      FieldName = 'CODLOCACAO'
      Required = True
    end
    object QueryLocacaoDATAINSTALACAO: TDateTimeField
      FieldName = 'DATAINSTALACAO'
    end
    object QueryLocacaoDATADESINSTALACAO: TDateTimeField
      FieldName = 'DATADESINSTALACAO'
    end
    object QueryLocacaoDATACHEGHORIGEM: TDateTimeField
      FieldName = 'DATACHEGHORIGEM'
    end
    object QueryLocacaoCODEQUIPAMENTO: TIntegerField
      FieldName = 'CODEQUIPAMENTO'
    end
    object QueryLocacaoCODCOMBOIO: TIntegerField
      FieldName = 'CODCOMBOIO'
    end
    object QueryLocacaoCODCLIENTE: TIntegerField
      FieldName = 'CODCLIENTE'
    end
    object QueryLocacaoCONTROLETRANSPORTE: TStringField
      FieldName = 'CONTROLETRANSPORTE'
    end
    object QueryLocacaoCODFATURA: TIntegerField
      FieldName = 'CODFATURA'
    end
    object QueryLocacaoVALORLOCACAO: TFloatField
      FieldName = 'VALORLOCACAO'
      DisplayFormat = '###,###0.00'
    end
    object QueryLocacaoVALORCOMUNICACAO: TFloatField
      FieldName = 'VALORCOMUNICACAO'
      DisplayFormat = '###,###0.00'
    end
  end
  object QueryContaRastreador: TZQuery
    Connection = DMprinc.ZConnection1
    SortedFields = 'CODFATURA'
    SQL.Strings = (
      'select * from contarastreador'
      'where codfatura = :pcodmaster')
    Params = <
      item
        DataType = ftInteger
        Name = 'pcodmaster'
        ParamType = ptUnknown
      end>
    MasterFields = 'CODFATURA'
    MasterSource = dsPrincipal
    IndexFieldNames = 'CODFATURA Asc'
    Left = 476
    Top = 283
    ParamData = <
      item
        DataType = ftInteger
        Name = 'pcodmaster'
        ParamType = ptUnknown
      end>
    object QueryContaRastreadorCODCONTARASTREADOR: TIntegerField
      FieldName = 'CODCONTARASTREADOR'
      Required = True
    end
    object QueryContaRastreadorOBS: TStringField
      FieldName = 'OBS'
      Size = 100
    end
    object QueryContaRastreadorDATAINICIO: TDateTimeField
      FieldName = 'DATAINICIO'
    end
    object QueryContaRastreadorDATAFINAL: TDateTimeField
      FieldName = 'DATAFINAL'
    end
    object QueryContaRastreadorCODCLIENTE: TIntegerField
      FieldName = 'CODCLIENTE'
    end
    object QueryContaRastreadorCODRASTREADOR: TIntegerField
      FieldName = 'CODRASTREADOR'
    end
    object QueryContaRastreadorCODVEICULO: TIntegerField
      FieldName = 'CODVEICULO'
    end
    object QueryContaRastreadorVALORTOTAL: TFloatField
      FieldName = 'VALORTOTAL'
    end
    object QueryContaRastreadorCODFATURA: TIntegerField
      FieldName = 'CODFATURA'
    end
    object QueryContaRastreadorlkplaca: TStringField
      FieldKind = fkLookup
      FieldName = 'lkplaca'
      LookupDataSet = DMprinc.QueryVeiculo
      LookupKeyFields = 'CODVEICULO'
      LookupResultField = 'PLACA'
      KeyFields = 'CODVEICULO'
      Lookup = True
    end
  end
end
